package com.xxx.yuedong.common.exception;

import lombok.Getter;

/**
 * 自定义异常处理
 *
 * @Author YinXi
 * @Versin 1.0.0
 * @Date 2023/8/3
 */

public class YuedongException extends RuntimeException{
    @Getter
    private int code;
    public YuedongException(int code ,String msg){
        super(msg);
        this.code = code;
    }
}
